package com.gxnzd.communityelderly.service;

import com.gxnzd.communityelderly.commom.R;
import com.gxnzd.communityelderly.entity.Drugs;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 23234
* @description 针对表【drugs】的数据库操作Service
* @createDate 2024-10-21 10:54:25
*/
public interface DrugsService extends IService<Drugs> {
    R selectPageList(Integer page, Integer pageSize, String drugsName, String manufacturer);

    R<List<Drugs>> queryKey(String drugsName);

    R addDrugsInfo(Drugs drugs);

    R updateDrugsInfo(Drugs drugs);

    R getDrugsDetails(String drugsId);

    R deleteDrugs(String drugsId);
}
